package com.chinasofti.io;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Demo08 {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("java0419\\a.txt");
        int ch;
        while ((ch=fr.read() )!= -1){
            System.out.println((char) ch);
        }
        fr.close();
    }
}
